    cmake_minimum_required(VERSION 2.8)  
    project( ShowImage )  
    find_package( OpenCV REQUIRED )  
    add_executable( ShowImage ShowImage.cpp )  
    target_link_libraries( ShowImage ${OpenCV_LIBS} )


